package org.example.virtualsensors.entity.dto;

import lombok.Data;

@Data
public class LoginRequest {
    private String username;
    private String password;
    private String token;

    public static class HostRegistrationRequest {
        private String itemgroup_name;
        private String itemgroup_model;
        private String itemgroup_sn;
        private String app_address;
        private String creator;
        private String itemgroup_key;

        // Getters and Setters
        public String getItemgroup_name() { return itemgroup_name; }
        public void setItemgroup_name(String itemgroup_name) { this.itemgroup_name = itemgroup_name; }
        public String getItemgroup_model() { return itemgroup_model; }
        public void setItemgroup_model(String itemgroup_model) { this.itemgroup_model = itemgroup_model; }
        public String getItemgroup_sn() { return itemgroup_sn; }
        public void setItemgroup_sn(String itemgroup_sn) { this.itemgroup_sn = itemgroup_sn; }
        public String getApp_address() { return app_address; }
        public void setApp_address(String app_address) { this.app_address = app_address; }
        public String getCreator() { return creator; }
        public void setCreator(String creator) { this.creator = creator; }
        public String getItemgroup_key() { return itemgroup_key; }
        public void setItemgroup_key(String itemgroup_key) { this.itemgroup_key = itemgroup_key; }
    }

    public static class SensorRegistrationRequest {
        private String item_name;
        private String item_model;
        private String itemgroup_sn;
        private String itemgroup_key;
        private String item_key;
        private String creator;

        // Getters and Setters
        public String getItem_name() { return item_name; }
        public void setItem_name(String item_name) { this.item_name = item_name; }
        public String getItem_model() { return item_model; }
        public void setItem_model(String item_model) { this.item_model = item_model; }
        public String getItemgroup_sn() { return itemgroup_sn; }
        public void setItemgroup_sn(String itemgroup_sn) { this.itemgroup_sn = itemgroup_sn; }
        public String getItemgroup_key() { return itemgroup_key; }
        public void setItemgroup_key(String itemgroup_key) { this.itemgroup_key = itemgroup_key; }
        public String getItem_key() { return item_key; }
        public void setItem_key(String item_key) { this.item_key = item_key; }
        public String getCreator() { return creator; }
        public void setCreator(String creator) { this.creator = creator; }
    }
}
